import Cookies from 'js-cookie'
//引入js-cookie 包来操作cookie

//取
export function getToken(TokenKey) {
  return Cookies.get(TokenKey)
}
//存
export function setToken(TokenKey,token) {
  return Cookies.set(TokenKey, token)
}
//移出
export function removeToken(TokenKey) {
  return Cookies.remove(TokenKey)
}